package com.design.proxy.st;

import com.design.proxy.Person;

/**
 * Created by yijy on 2018/3/16.
 */
public class Student implements Person {

    private String name;

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void submitFee() {
        System.out.println(name+"缴纳班费50￥");
    }
}
